package com.zhijian.wharf.entity.dto;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * @author HCG
 * @version 1.0
 * @date 2023-10-20
 */
public class BcpCardDto extends BcpCommonResultDto implements Serializable {

    private static final long serialVersionUID = 5611697735878509615L;

    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data implements Serializable {

        private static final long serialVersionUID = -5905186222219298796L;

        /**
         * cardno : 1064925994085
         * iccid : 898604551619C0841357
         * used : 96768
         * state : 00
         * status : 1
         * imei : 00
         * surplus : 210432
         * expired_at : 2023-06-01 00:00:00
         * display_status : 2
         * onlinestate : 1
         * shouchong_time : 2022-06-14 13:27:43
         * balance : 210432
         * ispick : 1
         * alert_per : 2022-10-26 11:57:11
         * jingtime : 1
         * autoid : 1
         * autoname : 30M/月 1年包-移动
         * c_status : 2
         * interval : 0
         * canused : 21002
         * offthenet : -1
         * power_status : 1
         * gprs_status : 1
         * province_code : 0
         * certstatus : 1
         * month_useds : [{"month_date":"202206","used_flow":"2.58"},{"month_date":"202207","used_flow":"2.58"}]
         * totalVoice : 0
         * usedVoice : 0
         * surplusVoice : 0
         * dayused : 0
         * package : [{"orderno":"165518446342842","package_name":"30M/月 1年包-移动","state":0,"expired_at":"2023-06-01 00:00:00","created_at":"2022-06-14 13:27:43","package_type":0,"flow":"360M","monthly_flow":30,"surplus":"360","used":"362.57"}]
         */

        private String cardno;
        private String iccid;
        private int used;
        private String state;
        private int status;
        private String imei;
        private int surplus;
        private String expired_at;
        private int display_status;
        private int onlinestate;
        private String shouchong_time;
        private int balance;
        private int ispick;
        private String alert_per;
        private String jingtime;
        private int autoid;
        private String autoname;
        private int c_status;
        private int interval;
        private int canused;
        private String offthenet;
        private int power_status;
        private int gprs_status;
        private int province_code;
        private int certstatus;
        private int totalVoice;
        private int usedVoice;
        private int surplusVoice;
        private int dayused;
        private List<MonthUsedsBean> month_useds;
        @SerializedName("package")
        private List<PackageBean> packageX;

        public String getCardno() {
            return cardno;
        }

        public void setCardno(String cardno) {
            this.cardno = cardno;
        }

        public String getIccid() {
            return iccid;
        }

        public void setIccid(String iccid) {
            this.iccid = iccid;
        }

        public int getUsed() {
            return used;
        }

        public void setUsed(int used) {
            this.used = used;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getImei() {
            return imei;
        }

        public void setImei(String imei) {
            this.imei = imei;
        }

        public int getSurplus() {
            return surplus;
        }

        public void setSurplus(int surplus) {
            this.surplus = surplus;
        }

        public String getExpired_at() {
            return expired_at;
        }

        public void setExpired_at(String expired_at) {
            this.expired_at = expired_at;
        }

        public int getDisplay_status() {
            return display_status;
        }

        public void setDisplay_status(int display_status) {
            this.display_status = display_status;
        }

        public int getOnlinestate() {
            return onlinestate;
        }

        public void setOnlinestate(int onlinestate) {
            this.onlinestate = onlinestate;
        }

        public String getShouchong_time() {
            return shouchong_time;
        }

        public void setShouchong_time(String shouchong_time) {
            this.shouchong_time = shouchong_time;
        }

        public int getBalance() {
            return balance;
        }

        public void setBalance(int balance) {
            this.balance = balance;
        }

        public int getIspick() {
            return ispick;
        }

        public void setIspick(int ispick) {
            this.ispick = ispick;
        }

        public String getAlert_per() {
            return alert_per;
        }

        public void setAlert_per(String alert_per) {
            this.alert_per = alert_per;
        }

        public String getJingtime() {
            return jingtime;
        }

        public void setJingtime(String jingtime) {
            this.jingtime = jingtime;
        }

        public int getAutoid() {
            return autoid;
        }

        public void setAutoid(int autoid) {
            this.autoid = autoid;
        }

        public String getAutoname() {
            return autoname;
        }

        public void setAutoname(String autoname) {
            this.autoname = autoname;
        }

        public int getC_status() {
            return c_status;
        }

        public void setC_status(int c_status) {
            this.c_status = c_status;
        }

        public int getInterval() {
            return interval;
        }

        public void setInterval(int interval) {
            this.interval = interval;
        }

        public int getCanused() {
            return canused;
        }

        public void setCanused(int canused) {
            this.canused = canused;
        }

        public String getOffthenet() {
            return offthenet;
        }

        public void setOffthenet(String offthenet) {
            this.offthenet = offthenet;
        }

        public int getPower_status() {
            return power_status;
        }

        public void setPower_status(int power_status) {
            this.power_status = power_status;
        }

        public int getGprs_status() {
            return gprs_status;
        }

        public void setGprs_status(int gprs_status) {
            this.gprs_status = gprs_status;
        }

        public int getProvince_code() {
            return province_code;
        }

        public void setProvince_code(int province_code) {
            this.province_code = province_code;
        }

        public int getCertstatus() {
            return certstatus;
        }

        public void setCertstatus(int certstatus) {
            this.certstatus = certstatus;
        }

        public int getTotalVoice() {
            return totalVoice;
        }

        public void setTotalVoice(int totalVoice) {
            this.totalVoice = totalVoice;
        }

        public int getUsedVoice() {
            return usedVoice;
        }

        public void setUsedVoice(int usedVoice) {
            this.usedVoice = usedVoice;
        }

        public int getSurplusVoice() {
            return surplusVoice;
        }

        public void setSurplusVoice(int surplusVoice) {
            this.surplusVoice = surplusVoice;
        }

        public int getDayused() {
            return dayused;
        }

        public void setDayused(int dayused) {
            this.dayused = dayused;
        }

        public List<MonthUsedsBean> getMonth_useds() {
            return month_useds;
        }

        public void setMonth_useds(List<MonthUsedsBean> month_useds) {
            this.month_useds = month_useds;
        }

        public List<PackageBean> getPackageX() {
            return packageX;
        }

        public void setPackageX(List<PackageBean> packageX) {
            this.packageX = packageX;
        }

        public static class MonthUsedsBean {
            /**
             * month_date : 202206
             * used_flow : 2.58
             */

            private String month_date;
            private String used_flow;

            public String getMonth_date() {
                return month_date;
            }

            public void setMonth_date(String month_date) {
                this.month_date = month_date;
            }

            public String getUsed_flow() {
                return used_flow;
            }

            public void setUsed_flow(String used_flow) {
                this.used_flow = used_flow;
            }
        }

        public static class PackageBean {
            /**
             * orderno : 165518446342842
             * package_name : 30M/月 1年包-移动
             * state : 0
             * expired_at : 2023-06-01 00:00:00
             * created_at : 2022-06-14 13:27:43
             * package_type : 0
             * flow : 360M
             * monthly_flow : 30
             * surplus : 360
             * used : 362.57
             */

            private String orderno;
            private String package_name;
            private int state;
            private String expired_at;
            private String created_at;
            private int package_type;
            private String flow;
            private int monthly_flow;
            private String surplus;
            private String used;

            public String getOrderno() {
                return orderno;
            }

            public void setOrderno(String orderno) {
                this.orderno = orderno;
            }

            public String getPackage_name() {
                return package_name;
            }

            public void setPackage_name(String package_name) {
                this.package_name = package_name;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getExpired_at() {
                return expired_at;
            }

            public void setExpired_at(String expired_at) {
                this.expired_at = expired_at;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getPackage_type() {
                return package_type;
            }

            public void setPackage_type(int package_type) {
                this.package_type = package_type;
            }

            public String getFlow() {
                return flow;
            }

            public void setFlow(String flow) {
                this.flow = flow;
            }

            public int getMonthly_flow() {
                return monthly_flow;
            }

            public void setMonthly_flow(int monthly_flow) {
                this.monthly_flow = monthly_flow;
            }

            public String getSurplus() {
                return surplus;
            }

            public void setSurplus(String surplus) {
                this.surplus = surplus;
            }

            public String getUsed() {
                return used;
            }

            public void setUsed(String used) {
                this.used = used;
            }
        }
    }


}
